* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #333;
}
section h2 {
  position: relative;
  width: 100%;
  height: 100vh;
  text-align: center;
  line-height: 100vh;
  font-size: 10vw;
  color: #fff;
  font-weight: 700;
}

.banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}
.banner .blocks {
  position: relative;
  display: block;
  width: 5vw;
  height: 5vh;
  animation: animate 0.75s ease-in-out forwards;
}
.banner .blocks:nth-child(even) {
  animation: animate 1s ease-in-out forwards;
}
.banner .blocks:nth-child(7n + 3) {
  animation: animate 2.5s ease-in-out forwards;
}
.banner .blocks:nth-child(7n + 7) {
  animation: animate 1.5s ease-in-out forwards;
}

@keyframes animate {
  0% {
    opacity: 0;
    transform: scale(0) translateY(1000px);
  }
  50% {
    opacity: 1;
    background: url(bg.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0px);
    background: url(bg.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
  }
}
